package com.xyulu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyulu.entity.SysUserEntity;
import com.xyulu.entity.common.Result;
import com.xyulu.entity.vo.LoginUser;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author lumin
 * @since 2021-02-25
 */
public interface SysUserService extends IService<SysUserEntity> {

    Result login(LoginUser loginUser);

    List<String> getRoleNameByLogin(String usernam);

    void updaStatus(Integer status, Integer id);
}
